package com.tf8.treasure.mapper;

import com.tf8.treasure.entity.ResourceCourse;
import com.tf8.treasure.entity.ResourceCourseExample;
import java.util.List;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.data.domain.Pageable;
import org.springframework.stereotype.Repository;
@Mapper
public interface ResourceCourseMapper {
    int countByExample(ResourceCourseExample example);

    int deleteByExample(ResourceCourseExample example);

    int deleteByPrimaryKey(Long id);

    int insert(ResourceCourse record);

    int insertSelective(ResourceCourse record);

    List<ResourceCourse> selectByExample(ResourceCourseExample example);

    ResourceCourse selectByPrimaryKey(Long id);

    int updateByExampleSelective(@Param("record") ResourceCourse record, @Param("example") ResourceCourseExample example);

    int updateByExample(@Param("record") ResourceCourse record, @Param("example") ResourceCourseExample example);

    int updateByPrimaryKeySelective(ResourceCourse record);

    int updateByPrimaryKey(ResourceCourse record);

    List<ResourceCourse> selectPageByExample(@Param("example") ResourceCourseExample example, @Param("pageable") Pageable pageable);
}